-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am generating a csv download from my web server and to be safe, I have enclosed each field with double quotes.
i.e.
"Field1","Field2","Field3","Field4"
"row1_field1","row1_field2","row1_field3","row1_field4"
"row2_field1","row2_field2","row2_field3","row2_field4"
The problem is that when the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an application which uses a javascript based rules engine. I need a way to convert regular straight quotes into curl (or smart) quotes. It'd be easy to just do a string.replace for ["], only this will only insert one case of the curly quote.
The best way I could think of was replace the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
We have a program where the user needs to do a Copy-Paste some content from Microsoft Word into a HTML editor (Visual Studio 2008).
That content in the HTML is then used in our confirmation emails.
Some of the characters like curly quotes turn into ? on the browser & in our confirmation email…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
According to the documentation, they're pretty much interchangeable. Is there a stylistic reason to use one over the other?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
Are there any differences between single and double quotes in javascript?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
document.getElementById("img").innerHTML="< img src='/sitepath/"+imgg+".jpg' width='72' height='44' onclick='alert('hello');' />";
The above code is my javascript. Problem is printing hello or any other string. If I just type 123 in place of hello, it does give alert. But am not able to use…
>>> More
-
as seen on Super User
- Search for 'Super User'
I have a peculiar problem in Microsoft Office 2007 (Word). When I am using single quotes, the first time I type a ' it appears as a , instead.
For example, typing ''' translates to ,'' in Word, necessitating me to go back and delete the comma so that I can correctly single-quote words.
Is there…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to build a lexer to tokenize lone words and quoted strings. I got the following:
STRING: QUOTE (options {greedy=false;} : . )* QUOTE ;
WS : SPACE+ { $channel = HIDDEN; } ;
WORD : ~(QUOTE|SPACE)+ ;
For the corner cases, it needs to parse:
"string" word1" word2
As three…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to build a lexer to tokenize lone words and quoted strings. I got the following:
STRING: QUOTE (options {greedy=false;} : . )* QUOTE ;
WS : SPACE+ { $channel = HIDDEN; } ;
WORD : ~(QUOTE|SPACE)+ ;
For the corner cases, it needs to parse:
"string" word1" word2
As three…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have the following LINQ expression that's not returning the appropriate response
var query = from quote in db.Quotes
where quote.QuoteStatus == "Estimating" || quote.QuoteStatus == "Rejected"
from emp in db.Employees
where emp.EmployeeID == quote…
>>> More